|
usbuart6 2.2.0
|
This file contains API for USB UART 6 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_uart.h"Go to the source code of this file.
Data Structures | |
| struct | usbuart6_t |
| USB UART 6 Click context object. More... | |
| struct | usbuart6_cfg_t |
| USB UART 6 Click configuration object. More... | |
Macros | |
| #define | USBUART6_TX_DRV_BUFFER_SIZE 200 |
| USB UART 6 driver buffer size. | |
| #define | USBUART6_RX_DRV_BUFFER_SIZE 200 |
| #define | USBUART6_MAP_MIKROBUS(cfg, mikrobus) |
| MikroBUS pin mapping. | |
Enumerations | |
| enum | usbuart6_return_value_t { USBUART6_OK = 0 , USBUART6_ERROR = -1 } |
| USB UART 6 Click return value data. More... | |
Functions | |
| void | usbuart6_cfg_setup (usbuart6_cfg_t *cfg) |
| USB UART 6 configuration object setup function. | |
| err_t | usbuart6_init (usbuart6_t *ctx, usbuart6_cfg_t *cfg) |
| USB UART 6 initialization function. | |
| err_t | usbuart6_generic_write (usbuart6_t *ctx, uint8_t *data_in, uint16_t len) |
| USB UART 6 data writing function. | |
| err_t | usbuart6_generic_read (usbuart6_t *ctx, uint8_t *data_out, uint16_t len) |
| USB UART 6 data reading function. | |
| void | usbuart6_enable_device (usbuart6_t *ctx) |
| USB UART 6 enable device function. | |
| void | usbuart6_disable_device (usbuart6_t *ctx) |
| USB UART 6 disable device function. | |
| void | usbuart6_set_cts_pin (usbuart6_t *ctx, uint8_t state) |
| USB UART 6 set CTS pin function. | |
| uint8_t | usbuart6_get_rts_pin (usbuart6_t *ctx) |
| USB UART 6 get RTS pin function. | |
This file contains API for USB UART 6 Click Driver.